package com.dianjing.dianqun.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.dianjing.dianqun.model.dto.UserDTO;

/**
 * 评论实体类
 * 
 * @author djn104
 *
 */
public class ContentComment implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 评论id
	 */
	private Integer commentId;

	/**
	 * 评论人id
	 */
	private Integer commentUserId;
	/**
	 * 评论人
	 */
	private User commentUser;

	/**
	 * 作者id
	 */
	private Integer authorUserId;

	/**
	 * 文章id
	 */
	private Integer contentId;

	/**
	 * 图片id
	 */
	private Integer pictureId;
	/**
	 * 扩展信息
	 */
	private ContentCommentExt commentExt;

	/**
	 * 站点id
	 */

	@JSONField(serialize = false)
	private Integer siteId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	@JSONField(serialize = false)
	private Short commentType;

	@JSONField(serialize = false)
	private Short ups;

	@JSONField(serialize = false)
	private Short downs;

	/**
	 * 是否推荐
	 */
	private Boolean isRecommend;

	/**
	 * 是否审核 未审核0，审核未通过1，审核通过2
	 */
	private Integer isChecked;

	/**
	 * 是否已读 0：未读；1：已读
	 */
	@JSONField(serialize = false)
	private Integer isRead;

	/**
	 * 
	 * @return comment_id
	 */
	public Integer getCommentId() {
		return commentId;
	}

	/**
	 * 
	 * @param commentId
	 */
	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	/**
	 * è¯„è®ºç”¨æˆ·ID
	 * 
	 * @return comment_user_id è¯„è®ºç”¨æˆ·ID
	 */
	public Integer getCommentUserId() {
		return commentUserId;
	}

	/**
	 * è¯„è®ºç”¨æˆ·ID
	 * 
	 * @param commentUserId
	 *            è¯„è®ºç”¨æˆ·ID
	 */
	public void setCommentUserId(Integer commentUserId) {
		this.commentUserId = commentUserId;
	}

	/**
	 * è¢«è¯„è®ºå†…å®¹ä½œè€…ID
	 * 
	 * @return author_user_id è¢«è¯„è®ºå†…å®¹ä½œè€…ID
	 */
	public Integer getAuthorUserId() {
		return authorUserId;
	}

	/**
	 * è¢«è¯„è®ºå†…å®¹ä½œè€…ID
	 * 
	 * @param authorUserId
	 *            è¢«è¯„è®ºå†…å®¹ä½œè€…ID
	 */
	public void setAuthorUserId(Integer authorUserId) {
		this.authorUserId = authorUserId;
	}

	/**
	 * å†…å®¹ID
	 * 
	 * @return content_id å†…å®¹ID
	 */
	public Integer getContentId() {
		return contentId;
	}

	/**
	 * å†…å®¹ID
	 * 
	 * @param contentId
	 *            å†…å®¹ID
	 */
	public void setContentId(Integer contentId) {
		this.contentId = contentId;
	}

	/**
	 * å›¾ç‰‡ID
	 * 
	 * @return picture_id å›¾ç‰‡ID
	 */
	public Integer getPictureId() {
		return pictureId;
	}

	/**
	 * å›¾ç‰‡ID
	 * 
	 * @param pictureId
	 *            å›¾ç‰‡ID
	 */
	public void setPictureId(Integer pictureId) {
		this.pictureId = pictureId;
	}

	/**
	 * ç«™ç‚¹ID
	 * 
	 * @return site_id ç«™ç‚¹ID
	 */
	public Integer getSiteId() {
		return siteId;
	}

	/**
	 * ç«™ç‚¹ID
	 * 
	 * @param siteId
	 *            ç«™ç‚¹ID
	 */
	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	/**
	 * è¯„è®ºæ—¶é—´
	 * 
	 * @return create_time è¯„è®ºæ—¶é—´
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * è¯„è®ºæ—¶é—´
	 * 
	 * @param createTime
	 *            è¯„è®ºæ—¶é—´
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * è¯„è®ºç±»åž‹ 0ï¼šå¯¹æ–‡ç« è¯„è®º 1ï¼šå¯¹å›¾ç‰‡è¯„è®º.......
	 * 
	 * @return comment_type è¯„è®ºç±»åž‹ 0ï¼šå¯¹æ–‡ç« è¯„è®º
	 *         1ï¼šå¯¹å›¾ç‰‡è¯„è®º.......
	 */
	public Short getCommentType() {
		return commentType;
	}

	/**
	 * è¯„è®ºç±»åž‹ 0ï¼šå¯¹æ–‡ç« è¯„è®º 1ï¼šå¯¹å›¾ç‰‡è¯„è®º.......
	 * 
	 * @param commentType
	 *            è¯„è®ºç±»åž‹ 0ï¼šå¯¹æ–‡ç« è¯„è®º 1ï¼šå¯¹å›¾ç‰‡è¯„è®º.......
	 */
	public void setCommentType(Short commentType) {
		this.commentType = commentType;
	}

	/**
	 * æ”¯æŒæ•°
	 * 
	 * @return ups æ”¯æŒæ•°
	 */
	public Short getUps() {
		return ups;
	}

	/**
	 * æ”¯æŒæ•°
	 * 
	 * @param ups
	 *            æ”¯æŒæ•°
	 */
	public void setUps(Short ups) {
		this.ups = ups;
	}

	/**
	 * 
	 * @return downs
	 */
	public Short getDowns() {
		return downs;
	}

	/**
	 * 
	 * @param downs
	 */
	public void setDowns(Short downs) {
		this.downs = downs;
	}

	/**
	 * 是否推荐
	 * 
	 * @return is_recommend 是否推荐
	 */
	public Boolean getIsRecommend() {
		return isRecommend;
	}

	/**
	 * 是否推荐
	 * 
	 * @param isRecommend
	 *            是否推荐
	 */
	public void setIsRecommend(Boolean isRecommend) {
		this.isRecommend = isRecommend;
	}

	/**
	 * 是否审核 未审核0，审核未通过1，审核通过2
	 * 
	 * @return is_checked 是否审核 未审核0，审核未通过1，审核通过2
	 */
	public Integer getIsChecked() {
		return isChecked;
	}

	/**
	 * 是否审核 未审核0，审核未通过1，审核通过2
	 * 
	 * @param isChecked
	 *            是否审核 未审核0，审核未通过1，审核通过2
	 */
	public void setIsChecked(Integer isChecked) {
		this.isChecked = isChecked;
	}

	/**
	 * 是否已读 0：未读；1：已读
	 * 
	 * @return is_read 是否已读 0：未读；1：已读
	 */
	public Integer getIsRead() {
		return isRead;
	}

	/**
	 * 是否已读 0：未读；1：已读
	 * 
	 * @param isRead
	 *            是否已读 0：未读；1：已读
	 */
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public ContentCommentExt getCommentExt() {
		return commentExt;
	}

	public void setCommentExt(ContentCommentExt commentExt) {
		this.commentExt = commentExt;
	}

	public User getCommentUser() {
		return commentUser;
	}

	public void setCommentUser(User commentUser) {
		this.commentUser = commentUser;
	}

}
